package com.zrwl.poscloud.base.constants;

/**
 * @author liuxiaolong
 * @date 2022/7/23
 * @description
 */
public class EquipmentConstants {
    /***
     * status 状态(1:未签约,2:已签约,3:已审核,4:已作废,5:退租中,6:已退租)
     */
    public static final int deleted = 0;
    public static final int start = 1;//启动
    public static final int stop = 2;//停止

    /***
     * equipmentType
     */
    public static final int equipmentType_door_lock = 1;//门锁
    public static final int equipmentType_ammeter = 2;//电表

    public static String getEquipmentTypeName(int type) {
        switch (type) {
            case equipmentType_door_lock:
                return "门锁";
            case equipmentType_ammeter:
                return "电表";
            default:
                return "其他";
        }
    }

}
